home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ Opera 2.xpl
< prev
next >
Wrap
Text File
|
1999-09-15
|
2KB
|
93 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="Internet\Opera\"
"NAME"="Security Settings"
"VERSION"="1.00"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable SSL v2 secured connections"
"TEXT 2"="Enable SSL v3 secured connections"
"TEXT 3"="Enable TLS v1 secured connections"
"DESCRIPTION 1"="Some options for Opera."
"DESCRIPTION 2"="Opera may be obtained at http://www.opera.com"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com"
"COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
sFile=""
sVal_On="1"
sVal_Off="0"
sSec="SECURITY PREFS"
sV1="Enable SSL v2"
sV2="Enable SSL v3"
sV3="Enable TLS v1.0"
Sub GetINIFile
s=GetWinDir
sFile=s & "OPERA.ini"
End Sub
Sub Plugin_Initialize
Call GetINIFile
If FileExists(sFile) then
i=IniReadValue(sFile,sSec,sV1)
if i=sVal_On then SetUiElement 1,true
i=IniReadValue(sFile,sSec,sV2)
if i=sVal_On then SetUiElement 2,true
i=IniReadValue(sFile,sSec,sV3)
if i=sVal_On then SetUiElement 3,true
else
Call Disable()
End if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
s=sVal_On
else
s=sVal_Off
end if
Call iniWriteValue(sFile,sSec,sV1,s)
b=GetUIElement(2)
if b=true then
s=sVal_On
else
s=sVal_Off
end if
Call iniWriteValue(sFile,sSec,sV2,s)
b=GetUIElement(3)
if b=true then
s=sVal_On
else
s=sVal_Off
end if
Call iniWriteValue(sFile,sSec,sV3,s)
End Sub
Sub Plugin_Terminate
End Sub